'use strict';

module.exports = app => {
  const { INTEGER, TEXT } = app.Sequelize;

  const Errlog = app.logModel.define('err_log', {
    id: {
      type: INTEGER,
      primaryKey: true,
      autoIncrement: true,
    },
    content: TEXT,
    create_time: INTEGER,
  });
  return Errlog;
};
